package cn.js.ccit.flowersmall.order.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="goldCoin")
public interface GiftGoldCoinService {
    @PostMapping("/updateGoldCoin")
    public void updateGoldCoin(@RequestParam("userName")String userName,
                               @RequestParam("goldCoin")Integer goldCoin,
                               @RequestParam("orderNo")String orderNo);
}
